// eslint-disable-next-line import/namespace
import { AxiosInstance } from 'axios'
import { IData } from '@/api/types/base'
export default (axios: AxiosInstance) => ({
  list(data: IData) {
    return axios.get(`/api/home/list`, data)
  },
  update(data: IData) {
    return axios.post(`/home/info`, data)
  },
})
